package oa.hleast.xswl.pojo.domain.questionnaire;

/**
 * 用户试卷状态
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("qms_user_questionnaire_state")
@ApiModel("用户问卷状态表实体类")
public class QmsUserQuestionnaireState extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("用户问卷表ID")
    private Long userQuestionnaireId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户所得星星数量")
    private Integer userTotalScore;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;
}
